<include file="Base:header" />
    
        
        <div id="mws-container" class="clearfix">
            <div class="container">


                <div class="mws-panel grid_8">
                    <div class="mws-panel-header">
                        <span class="mws-i-24 i-list">添加用户</span>
                    </div>
                    <div class="mws-panel-body">
                        <form class="mws-form" action="{:U("Users/add")}" method="post">
                            <input type="hidden" name="id" id="id" value="{$id}" />
                            <div class="mws-form-inline">
                                <div class="mws-form-row">
                                    <label>姓名</label>
                                    <div class="mws-form-item small">
                                        <input type="text" name="name" class="mws-textinput" />
                                    </div>
                                </div>
                                <div class="mws-form-row">
                                    <label>用户名</label>
                                    <div class="mws-form-item medium">
                                        <input type="text" name="username" class="mws-textinput" />
                                    </div>
                                </div>
                                <div class="mws-form-row">
                                    <label>密码</label>
                                    <div class="mws-form-item large">
                                        <input type="text" name="password" class="mws-textinput" />
                                    </div>
                                </div>
                                <div class="mws-form-row">
                                    <label>角色</label>
                                    <div class="mws-form-item small">
                                        <select name="sid">
                                            <option value="0">--请选择--</option>
                                            <volist name="role" id="vo">
                                                <option value="{$vo.id}">{$vo.rolename}</option>
                                            </volist>
                                        </select>
                                    </div>
                                </div>
                                <div class="mws-form-row">
                                    <label>部门</label>
                                    <div class="mws-form-item small">
                                        <select name="pid">
                                            <option value="0">--请选择--</option>
                                            <volist name="department" id="vo">
                                                <option value="{$vo.id}">{$vo.name}</option>
                                            </volist>
                                        </select>
                                    </div>
                                </div>
                                <div class="mws-form-row">
                                    <label>手机号码</label>
                                    <div class="mws-form-item medium">
                                        <input type="text" name="tel" class="mws-textinput" />
                                    </div>
                                </div>
                                <div class="mws-form-row">
                                    <label>Email</label>
                                    <div class="mws-form-item medium">
                                        <input type="text" name="email" class="mws-textinput" />
                                    </div>
                                </div>
                                <div class="mws-form-row">
                                    <label>地址</label>
                                    <div class="mws-form-item medium">
                                        <input type="text" name="address" class="mws-textinput" />
                                    </div>
                                </div>
                                <div class="mws-form-row">
                                    <label>邮政编码:</label>
                                    <div class="mws-form-item medium">
                                        <input type="text" name="code" class="mws-textinput" />
                                    </div>
                                </div>
                                <div class="mws-form-row">
                                    <label>状态</label>
                                    <div class="mws-form-item small">
                                        <select name="status">
                                            <option value="0">未启用</option>
                                            <option value="1">启用</option>
                                        </select>
                                    </div>
                                </div>
                                
                            </div>
                            <div class="mws-button-row">
                                <input type="submit" value="Submit" class="mws-button green" />
                            </div>
                        </form>
                    </div>
                </div>
  


        <block name="content"></block>



    </div>

</body>
</html>
